<?php

namespace App\Http\Requests\Admin\ClassBaseNumberingController;

use App\Http\Requests\BaseRequest;
use Illuminate\Foundation\Http\FormRequest;

class doRule extends BaseRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'numbering'=>'required',
        ];
    }

    public function messages()
    {
        return [
            'numbering.required' => '請填寫課程編號名稱!',
        ];
    }
}
